<div style="width:1000px;margin:10px auto">
  <table width="100%" cellpadding="4" cellspacing="1" bgcolor="#CCFF00">
    <tr>
    <td colspan="3" align="left" bgcolor="#CCFF00">
      <div style="padding:5px;"><strong>Trả lời/Phản hồi thông tin liên hệ của khách hàng</strong> [ <a href="{$url_admin}">Về danh sách liên hệ</a> ]</div>  </td>
    </tr>
     <tr>
       <td colspan="3" bgcolor="#FFFFFF">{$msg}</td>
    </tr>
     <tr>
       <td align="right" bgcolor="#FFFFFF"><strong>Người gửi</strong></td>
       <td width="3" bgcolor="#FFFFFF">&nbsp;</td>
       <td width="690" bgcolor="#FFFFFF">{$email}</td>
     </tr>
     <tr>
          <td width="192" align="right" bgcolor="#FFFFFF"><b>Thời gian gửi</b></td>
          <td bgcolor="#FFFFFF">&nbsp;</td>	  
          <td bgcolor="#FFFFFF"><strong>{$date}<b> Cách đây:<strong>{$date2}</strong></b></strong></td>
     </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF"><strong>Nội dung</strong></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF">
         <div style="text-align:justify;width:98%;padding:6px;;border:solid 1px #FF0000;">{$content}</div></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFF00"><strong>Gửi trả lời / phản hồi (mới) </strong></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF"><strong>Tiêu đề cho thư phản hồi</strong></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF"><input type="text" name="subject" value="{$subject}" style="width:260px"/> 
         [ <strong>Mặc định là:</strong> &quot;Tra loi lien he cua ban... ( Reply for your feedback... )&quot; ]</td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF"><strong>Nội dung</strong></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF">
         <script type="text/javascript" src="javascript/tinymce336/jquery.tinymce.js"></script>
         <textarea name="reply_content"  id="reply_content" style="width:99%;height:400px;" class="tinymce">{$reply_content}</textarea>     </td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF"><input type="submit" value="Gửi trả lời" /> <input name="Reset" type="reset" value="Nhập lại" /></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF"><strong>Nội dung đã phản hồi</strong></td>
       </tr>
       <tr >
         <td colspan="3" valign="top" bgcolor="#FFFFFF">{$replied_content}</td>
       </tr>
  </table>
    
    {literal}
    <script>
    jQuery(document).ready(function(){
        jQuery('textarea.tinymce').tinymce({
            // Location of TinyMCE script
            script_url : 'javascript/tinymce336/tiny_mce.js',
            // General options
            theme : "advanced",
            //plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
            plugins : "safari,fullscreen,inlinepopups,paste",
            // Theme options
            theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,fontselect,fontsizeselect,forecolor,backcolor,|,link,unlink,pasteword,removeformat,fullscreen",
            theme_advanced_buttons2 : "",
            theme_advanced_buttons3 : "",
            theme_advanced_buttons4 : "",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_statusbar_location : "bottom",
            theme_advanced_resizing : true,
            theme_advanced_resize_horizontal : false,
            theme_advanced_fonts : "Arial=arial,helvetica,sans-serif;Verdana=verdana,geneva;Times New Roman=times new roman,times;Tahoma=tahoma,arial,helvetica,sans-serif;",
            theme_advanced_font_sizes : "3,4,5,6",
         
            // Example content CSS (should be your site CSS)
            content_css : "css/content.css",
         
            // Drop lists for link/image/media/template dialogs
            template_external_list_url : "lists/template_list.js",
            external_link_list_url : "lists/link_list.js",
            external_image_list_url : "lists/image_list.js",
            media_external_list_url : "lists/media_list.js",
    
            force_br_newlines : true,
            force_p_newlines : true,
         
            // Replace values for the template plugin
            template_replace_values : {
                username : "Some User",
                staffid : "991234"
            }
        });
    });	
    </script>
    {/literal}
</div>